<%@ page import="myschool.service.SubjectService" %><%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2022/7/4
  Time: 16:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>删除</title>
</head>
<body>
<%
    request.getRequestDispatcher("utf-8");
    int del = Integer.parseInt(request.getParameter("id"));
    int delete = SubjectService.ME.delete(del);
    if (delete > 0) {%>
<h2>
    删除成功！
</h2>
<%} else {%>
<h2>
    删除失败！
</h2>
<%}%>
</body>
</html>
